import { createRouter, createWebHistory } from "vue-router";
import routes from "./module/routes";

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export const setupRouter = (app) => {
  app.use(router);
};

export default router;